home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / stk-3.002 / stk-3 / STk-3.1 / COMPILING-HINTS < prev    next >
Encoding:
Text File  |  1996-07-22  |  6.5 KB  |  266 lines

  1. This File contains a set of hints for compiling STk and the things
  2. which have been reported about installation of STk. This file is very 
  3. incomplete and I hope to be able to make it growing.
  4.  
  5. If you experience a new port or confirm/infirm/add informations which are 
  6. specified here please send a mail to 'eg@unice.fr' (there is a blank form 
  7. at the end of this file)
  8.  
  9. If you succeed in compiling STk on an architecture for which there is no 
  10. binary release, please read the file BINARY_DISTRIB
  11.  
  12.  
  13. ______________________________________________________________________________
  14. SunOs 4.1.x
  15. ______________________________________________________________________________
  16. Compilation:
  17.     CC=gcc
  18.     CFLAGS=-O2
  19.  
  20. X11:
  21.     R5 and R6 
  22.  
  23. Dynamic loading:
  24.     I was not able to make a version using dynamic loading and the gnu 
  25.     loader. If your version of gcc use gld, you'll have probably to use the
  26.     --disable-dynload option during configuration. (Note: I said probably 
  27.     since a lot of things don't work on this system which has a gcc with
  28.     gld. Everything seems very poorly installed on this system)
  29.  
  30.     No problem with gcc and Sun ld.
  31. Who:
  32.     Erick Gallesio (eg@unice.fr)
  33. Tested:
  34.     Yes :)
  35.  
  36. Remarks:
  37.     The main system used for developping STk
  38.  
  39. ______________________________________________________________________________
  40. SunOs 5.3
  41. ______________________________________________________________________________
  42.  
  43. Compilation:
  44.     CC=gcc
  45.     CFLAGS=-O2
  46. X11:
  47.     OpenWindows
  48.  
  49. Dynamic loading:
  50.     Should work. At least it seems to be conform to documentation :->
  51.     Must be 
  52. Who:
  53.     Erick Gallesio (eg@unice.fr)
  54.  
  55. Tested:
  56.     just make widget-demo
  57.  
  58. Remarks:
  59.     Some people have reported that they use dynamic loading but I can 
  60.     remember who (and it was on 2.1).
  61.  
  62. ______________________________________________________________________________
  63. Linux 1.0.9 -> 1.2.8
  64. ______________________________________________________________________________
  65.  
  66. Compilation:
  67.     CC=gcc
  68.     CFLAGS=-O2
  69. X11:
  70.     XFree3.1.1
  71.  
  72. Dynamic loading:
  73.     Dynamic loading is supported for DLD and ELF. By default, no dynamic
  74.     is available on Linux (I don't know how to determine if we have ELF
  75.     or not on a machine==> so it is to the user to say what he/she wants
  76.     
  77.  
  78.     seems to work but I'll wait its generalization to add it to STk).
  79.     You need the dld package to use dynamic loading. 
  80.  
  81. Who:
  82.     Erick Gallesio (eg@unice.fr)
  83.  
  84. Tested:
  85.     yes
  86.  
  87. Remarks:
  88.     The other system used for developping STk.
  89.     Use the option -enable-dld to use DLD and -enable-elf for elf.
  90.     DLD is VERY VERY slow.
  91.  
  92. ______________________________________________________________________________
  93. DEC Alpha OSF1 V2.0
  94. ______________________________________________________________________________
  95.  
  96. Compilation:
  97.     CC=cc         Dont't use gcc 2.6 !!!!!!
  98.     CFLAGS=-O2
  99. X11:
  100.     X11 R5
  101.  
  102. Dynamic loading:
  103.     Erik Ostrom <eostrom@radon.ccs.neu.edu> told me to use ld for 
  104.     makeing the .so file. I quote him below:
  105.     "If SH_LOADER is "ld", you get a huge warning about all the 
  106.      undefined symbols; but if it's "cc", ld just won't make the
  107.      .so file.  I assume there's a way to get better results, but
  108.      this at least produced a working system."
  109.  
  110. Who:
  111.     Erick Gallesio (eg@unice.fr)
  112.  
  113. Tested:
  114.     Not a lot. Only the widget demo and some bignum tests.
  115.     No more core dump on undefined variable
  116.  
  117. Remarks:
  118.     Don't use gcc. STk worked with gcc prior 2.6. It doesn't work anymore
  119. with recent version of gcc. I have not investigated a lot with it but it seems
  120. that gcc 2.6 is unable to compile the bignum stuff (it yields warning during
  121. compilation wheras tthe code seems correct). Tests includes in the GMP
  122. packages dont pass anymore. Consequently, all computation
  123. which involve a bignum will be false (and could sometimes conduct to a core
  124. dump).
  125.  
  126.     I don't use this system. 
  127. ______________________________________________________________________________
  128. Dec 5xxx Ultix 4.2
  129. ______________________________________________________________________________
  130.  
  131. Compilation:
  132.     CC=gcc
  133.     CFLAGS=-O2
  134. X11:
  135.     X11 R5
  136.  
  137. Dynamic loading:
  138.     Not supported
  139.  
  140. Who:
  141.     Erick Gallesio (eg@unice.fr)    
  142.  
  143. Tested:
  144.     Widget demo work.
  145.  
  146. Remarks:
  147.     I don't use this sytem. 
  148.  
  149. ______________________________________________________________________________
  150. HP 9000/735 (HP-UX 9.01)
  151. ______________________________________________________________________________
  152.  
  153. Compilation:
  154.     CC=cc
  155.     CFLAGS='-Ae -O'
  156.  
  157. X11:
  158.     ????
  159.  
  160. Dynamic loading:
  161.     Dynamic loading is supported (support is due to Dipankar Gupta 
  162.     <dg@hplb.hpl.hp.com>). This support has been sent to me as a patch 
  163.     file over 2.1. It must be extended for newer versions (the only file
  164.     to modify is Src/dynload.c). Furthermore, options needed for 
  165.     compilation dosen't seems clear for me. I have guessed some of them
  166.     but I may be wrong.
  167. Who:
  168.     ottl@informatik.uni-muenchen.de
  169.  
  170. Tested:
  171.     Widget demo only (I think)
  172.  
  173. Remarks:
  174.     Other people have reported that STk work on HP. I don't know if they 
  175.     have used it a lot. Every info is welcome.
  176.  
  177. ______________________________________________________________________________
  178. SCO
  179. ______________________________________________________________________________
  180.  
  181. Compilation:
  182.     ???
  183.  
  184. X11:
  185.     ???
  186.  
  187. Dynamic loading:
  188.     ???
  189.  
  190. Who:
  191.     markd@grizzly.com
  192.  
  193. Tested:
  194.     ???
  195.  
  196. Remarks:
  197.  
  198. Use ptar (pax tar) to untar the distribution rather than standard tar. It
  199. seems that the standard tar doesn't handle correctly symbolic links. 
  200.  
  201. ______________________________________________________________________________
  202. NetBSD 1.0
  203. ______________________________________________________________________________
  204.  
  205. Compilation:
  206.     ???
  207. X11:
  208.     XFree ????
  209.  
  210. Dynamic loading:
  211.     Yes. Contribution of Franke Ruediger (Ruediger.Franke@rz.tu-ilmenau.de) 
  212.  
  213. Who:
  214.      Franke Ruediger     
  215.  
  216. Tested:
  217.     ???
  218.     
  219. Remarks:
  220.     ????
  221.  
  222. ______________________________________________________________________________
  223. SGI Irix 5.3
  224. ______________________________________________________________________________
  225.  
  226. Compilation:
  227.     CC=gcc CFLAGS=-O2
  228. X11:
  229.     X11R6
  230.  
  231. Dynamic loading:
  232.     Dynamic loading is supported
  233.  
  234. Who:
  235.     tiemann@cygnus.com
  236.  
  237. Tested:
  238.     compiled, ran all demos (stk and stklos)
  239.  
  240. Remarks:
  241.  
  242. ______________________________________________________________________________
  243. A new system (Mail this form to eg@unice.fr if you have made a new port)
  244. ______________________________________________________________________________
  245.  
  246. Compilation:
  247.     Indicate here the values of CC and CFLAGS you used
  248. X11:
  249.     Indicate here the X11 version you used
  250.  
  251. Dynamic loading:
  252.     Indicate here if dynamic loading is supported and all info that seems
  253.     necessary for loading a file in a running interpreter.
  254.  
  255. Who:
  256.     your email or "Anonymous" if you don't want to bother yourself
  257.     with that anymore.
  258.  
  259. Tested:
  260.     How much you have tested STk (just compiled it, tested only the 
  261.     demos, ...)
  262.  
  263. Remarks:
  264.     Everythink you think is relevant.
  265.  
  266.